/**
 * Package	: com.coship.adstorm.webservice
 * File		: WebServiceConstant.java
 * Company 	: Shenzhen Coship Electronics CO., LTD.
 * Version  : v1.0
 * Description 	: <Detail Description for package>
 *
 * Copyright (c) 2003-2009 Shenzhen Coship Electronics CO., LTD.
 * Rainbow Bldg.,North,Hi-Tech Industrial Park,Nanshan District,Shenzhen,China,P.C.518057.
 * All rights reserved.
 * The contents of this file are confidential and proprietary to COSHIP.
 * Copying is explicitly prohibited without the express permission of COSHIP.
 *
 * Create Date	: Apr 26, 2010
 * Create By    : 904120
 * History :$
 */
package com.coship.vasms.adstorm.webservice;

/**
 * 
 * File Name : WebServiceConstant.java
 * 
 * @Description : 常量类
 * @author 904120
 */
public class WebServiceConstant {
	private WebServiceConstant() {
	}

	// agent代理类型
	public static final String POSITION_ANGENTTYPE_VAS = "1";
	// 广告位基本信息操作类型,1:新增
	public static final String POSITIONBASICINFO_OP_ADD = "1";
	// 广告位基本信息操作类型,2:删除
	public static final String POSITIONBASICINFO_OP_DELETE = "2";
	// 广告位基本信息操作类型,3:修改
	public static final String POSITIONBASICINFO_OP_MODIFY = "3";

	//  广告类型：ContentType，不为空，1:文字、2:图片
	public static final String POSITIONBASICINFO_CONTENT_TYPE_C = "1";
	public static final String POSITIONBASICINFO_CONTENT_TYPE_P = "2";
	
	/*
	200：成功
	510：失败，系统发生未知异常
	511：失败，参数不合法
	512：失败，广告位基本信息代码错误
	513：失败，广告位基本信息名称错误
	514: 失败，广告位附加信息编码错误
	*/
	// 响应码,1:成功,2:失败
	public static final String RESPONSE_SUCCESS = "200";
	public static final String RESPONSE_ERROR_SYSTEM = "510";
	public static final String RESPONSE_ERROR_PARAMETER = "511";
	public static final String RESPONSE_ERROR_BASICCODE = "512";
	public static final String RESPONSE_ERROR_BASICNAME = "513";
	public static final String RESPONSE_ERROR_POSITIONCODE = "514";
	// 广告位信息状态
	public static final int POSITIONINFO_STATE_Y = 1;
	public static final int POSITIONINFO_STATE_N = 0;
	// 广告位排期状态
	public static final int ARRANGE_STATE_Y = 1;
	public static final int ARRANGE_STATE_N = 0;
	// ------------------------------------------------------

	// 广告位附加信息操作类型,1:新增
	public static final String POSITIONINFO_OP_ADD = "1";
	// 广告位附加信息操作类型,2:删除
	public static final String POSITIONINFO_OP_DELETE = "2";
	// 广告位附加信息操作类型,3:修改
	public static final String POSITIONINFO_OP_MODIFY = "3";
	/*
	 * 位置类型 1:VAS Portal 总入口页,2:VAS Portal 业务首页,3:VAS Portal 业务中特性页面, 4:VAS
	 * Portal 列表类页面,5:VAS Portal 产品内容详情页面 -->
	 */
	public static final String POSITIONINFO_POSITIONTYPE_VASENTER = "1";
	public static final String POSITIONINFO_POSITIONTYPE_SERVICE = "2";
	public static final String POSITIONINFO_POSITIONTYPE_FEATHURE = "3";
	public static final String POSITIONINFO_POSITIONTYPE_COLUM = "4";
	public static final String POSITIONINFO_POSITIONTYPE_CONTENT = "5";
	
	/**
	 * 排期播出通知状态,1:已通知成功,2:通知失败
	 */
	public static final int NOTIFY_START_STATE_Y = 1;
	public static final int NOTIFY_START_STATE_N = 0;
	
	/**
	 * 排期停通知状态,1:已通知成功,2:通知失败,空:未通知
	 */
	public static final int NOTIFY_STOP_STATE_Y = 1;
	public static final int NOTIFY_STOP_STATE_N = 0;
	
	

}
